package com.aoxun.android.landlord.me.activity;
/**
 * Created by Onelong on 2017/11/20.
 */

import android.content.Intent;
import android.os.Bundle;
import android.os.Message;
import android.view.View;

import com.aoxun.android.commons.base.BaseActivity;
import com.aoxun.android.landlord.R;
import com.aoxun.android.landlord.common.WebviewActivity;

public class MainActivity extends BaseActivity {

    @Override
    public void handleMessage(Message msg) {

    }

    @Override
    public void initView() {

        find(R.id.button2).setOnClickListener(new View.OnClickListener() {
            @Override
            public void onClick(View view) {
                Intent intent = new Intent(getBaseContext(), WebviewActivity.class);
                intent.putExtra("urlString","https://baidu.com");
                startActivity(intent);
            }
        });
    }

    @Override
    public void initData(Bundle savedInstanceState) {

    }

    @Override
    public void setListener() {

    }

    @Override
    public int getLayoutId() {
        return R.layout.activity_main;
    }
}
